// 结算管理
export default {
  path: "/ERP_settlement",
  meta: {
    icon: "ic:outline-balance",
    title: "结算管理",
    rank: 40
  },
  children: [
    {
      path: "/ERP_settlement/project",
      meta: {
        icon: "ri:mist-fill",
        title: "项目结算",
        roleIds: ["cloudPurchase", "project"]
      },
      children: [
        // 菜单展示类
        {
          path: "/ERP_settlement/project/reconciliation",
          name: "projectReconciliation",
          component: () =>
            import("@/views/ERP_settlement/project/reconciliation.vue"),
          meta: {
            icon: "ri:currency-line",
            title: "电线电缆项目对账",
            showParent: true
            // keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevator/reconciliation",
          name: "elevatorReconciliation",
          component: () =>
            import("@/views/ERP_settlement/elevator/reconciliation.vue"),
          meta: {
            icon: "ri:currency-line",
            title: "电梯项目对账",
            showParent: true
            // keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/project/settlement",
          name: "projectSettlement",
          component: () =>
            import("@/views/ERP_settlement/project/settlement.vue"),
          meta: {
            icon: "ic:baseline-monetization-on",
            title: "电线电缆项目结算",
            showParent: true
            // keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevator/settlement",
          name: "elevatorSettlement",
          component: () =>
            import("@/views/ERP_settlement/elevator/settlement.vue"),
          meta: {
            icon: "ic:baseline-monetization-on",
            title: "电梯项目结算",
            showParent: true
            // keepAlive: true
          }
        },
        // 跳转详情类
        {
          path: "/ERP_settlement/project/components/projectReconciliationDetail",
          name: "projectReconciliationDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/project/components/projectReconciliationDetail.vue"
            ),
          meta: {
            showLink: false,
            keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevator/components/projectReconciliationDetail",
          name: "elevatorReconciliationDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/elevator/components/projectReconciliationDetail.vue"
              ),
          meta: {
            title: "电梯项目对账详情",
            showLink: false,
            keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/project/components/projectSettlementDetail",
          name: "projectSettlementDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/project/components/projectSettlementDetail.vue"
            ),
          meta: {
            showLink: false,
            keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevator/components/projectSettlementDetail",
          name: "elevatorSettlementDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/elevator/components/projectSettlementDetail.vue"
              ),
          meta: {
            title: "电梯项目结算详情",
            showLink: false,
            keepAlive: true
          }
        }
      ]
    },
    {
      path: "/ERP_settlement/supplier",
      meta: {
        icon: "ri:calendar-todo-line",
        title: "供应商结算",
        roleIds: ["cloudPurchase", "supply"]
      },
      children: [
        // 菜单展示类
        {
          path: "/ERP_settlement/supplier/reconciliation",
          name: "supplierReconciliation",
          component: () =>
            import("@/views/ERP_settlement/supplier/reconciliation.vue"),
          meta: {
            icon: "ri:currency-line",
            title: "电线电缆供应商对账",
            showParent: true
            // keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevatorSupplier/reconciliation",
          name: "elevatorSupplierReconciliation",
          component: () =>
            import("@/views/ERP_settlement/elevatorSupplier/reconciliation.vue"),
          meta: {
            icon: "ri:currency-line",
            title: "电梯供应商对账",
            showParent: true
            // keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/supplier/settlement",
          name: "supplierSettlement",
          component: () =>
            import("@/views/ERP_settlement/supplier/settlement.vue"),
          meta: {
            icon: "ic:baseline-monetization-on",
            title: "电线电缆供应商结算",
            showParent: true
            // keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevatorSupplier/settlement",
          name: "elevatorSupplierSettlement",
          component: () =>
            import("@/views/ERP_settlement/elevatorSupplier/settlement.vue"),
          meta: {
            icon: "ic:baseline-monetization-on",
            title: "电梯供应商结算",
            showParent: true
            // keepAlive: true
          }
        },
        // 跳转详情类
        {
          path: "/ERP_settlement/supplier/components/supplierReconciliationDetail",
          name: "supplierReconciliationDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/supplier/components/supplierReconciliationDetail.vue"
            ),
          meta: {
            showLink: false,
            keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevatorSupplier/components/supplierReconciliationDetail",
          name: "elevatorSupplierReconciliationDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/elevatorSupplier/components/supplierReconciliationDetail.vue"
              ),
          meta: {
            title: "电梯供应商对账详情",
            showLink: false,
            keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/supplier/components/supplierSettlementDetail",
          name: "supplierSettlementDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/supplier/components/supplierSettlementDetail.vue"
            ),
          meta: {
            showLink: false,
            keepAlive: true
          }
        },
        {
          path: "/ERP_settlement/elevatorSupplier/components/supplierSettlementDetail",
          name: "elevatorSupplierSettlementDetail",
          component: () =>
            import(
              "@/views/ERP_settlement/elevatorSupplier/components/supplierSettlementDetail.vue"
              ),
          meta: {
            title: "电梯供应商结算详情",
            showLink: false,
            keepAlive: true
          }
        }
      ]
    }
  ]
};
